<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;


        }
        .a{

            width: 150px;
            background-image: url("../img/图片2.png");
            float: none;
        }

        .b{

            padding:
                    0  0 50px;
           border: 1px solid red;
            height: 20px;
            background:white;
            font-size: 6px;
        }
    </style>
</head>
<body>

<div class="a" >
    <div><span>|</span><span>爱宠知识</span></div>
    <div class="b">
         <div><img src="../img/图片1.png" alt="">养狗比养猫更健康</div>
    </div>
</div>

</body>
</html>